home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Communication
/
NewsBase
/
Source
/
common.subproj
/
IKeyedObject.m
< prev
next >
Wrap
Text File
|
1993-01-12
|
333b
|
25 lines
#import "IKeyedObject.h"
#import <objc/hashtable.h>
@implementation IKeyedObject
- initWithKey:(const char *)aKey
{
[super init];
key = NXCopyStringBufferFromZone(aKey, [self zone]);
return(self);
}
- (const char *)key
{
return(key);
}
- free
{
NXZoneFree([self zone], key);
return([super free]);
}
@end